package com.gxa.sideParking.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2022-10-05
 */
@Getter
@Setter
@TableName("tb_road")
@ApiModel(value = "Road对象", description = "")
public class Road implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("路段id")
      @TableId(value = "road_id", type = IdType.AUTO)
    private Integer roadId;

    @ApiModelProperty("路段名称")
    private String roadName;

    @ApiModelProperty("路段类型")
    private String roadType;

    @ApiModelProperty("所属地区")
    private String roadLocal;

    @ApiModelProperty("泊位数量")
    private Integer roadSpacenum;

    @ApiModelProperty("限制泊位数")
    private Integer roadSpacelimit;

    @ApiModelProperty("创建时间")
    private LocalDateTime roadCreatetime;


}
